package org.jeecg.modules.cosmetic.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;


import java.util.Date;

/**
 * <p>
 * 包装计算产品类别表
 * </p>
 *
 * @author liqing
 * @since 2023-03-23
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("t_package_product")
@ApiModel(value = "TPackageProduct对象", description = "包装计算产品类别表")
public class TPackageProduct implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("包装计算表ID")
    private Long calId;

    @ApiModelProperty("产品单元类别")
    private String unitCategory;

    @ApiModelProperty("原产品单元类别对应的标准K")
    private String categoryKeys;

    @ApiModelProperty("输入的产品单元类别对应的含量")
    private String inputContent;

    @ApiModelProperty("创建时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date updateTime;


}
